package https

import "fmt"

type HttpLog struct {
	Method string
	Url    string
	Code   int
	Msg    string
}

func newHttpLog(m, url, msg string, code int) *HttpLog {
	return &HttpLog{
		Method: m,
		Url:    url,
		Code:   code,
		Msg:    msg,
	}
}

func (this *HttpLog) print() {
	fmt.Println(this.Code, this.Method, this.Url, this.Msg)
}
